
const message = 'Error: name is node defined.'

console.log(message.startsWith('Error'))
console.log(message.endsWith('.'))
console.log(message.includes('name'))